<div id="main">
  <div class="clearfix">
    <div class="crumbs">
      <a href="/forums">论坛首页</a> <span class="arrow">→</span>
      <a href="/forums/board/Ruby">Ruby版</a>
      <select id="forum_urlname" name="forum[urlname]" onchange="window.location='/forums/board/'+this.value"><option value="Java">Java</option>
        <option value="Ruby" selected="selected">Ruby</option>
        <option value="AJAX">AJAX</option>
        <option value="dotnet">Microsoft .Net</option>
        <option value="Tech">综合技术</option>
        <option value="New">入门讨论</option>
        <option value="Agile">软件开发和项目管理</option>
        <option value="Industry">行业解决方案</option>
        <option value="company">厂商论坛</option>
        <option value="Job">招聘求职</option>
        <option value="Life">海阔天空</option></select>
    </div>

    <div id="forum_search_box">
      <form action="/forums/40/search" method="get">      <input class="text" id="query" name="query" size="15" type="text">
        <input class="submit" value="搜索本版" type="submit">
        <a href="/search">全站搜索</a>
      </form>  </div>

</div>

<div id="forum_tag_list">
    <span class="highlight"><a href="/forums/board/Ruby">全部</a></span>
          <a href="/forums/tag/ruby">ruby</a>
          <a href="/forums/tag/rails">rails</a>
          <a href="/forums/tag/rake">rake</a>
          <a href="/forums/tag/DSL">DSL</a>

          <a href="/forums/tag/RJS">RJS</a>
          <a href="/forums/tag/YAML">YAML</a>
    </div>

<div class="actions">
  <div class="buttons"><a href="/ltfts/new" class="new_topic" title="发表新帖">&nbsp;</a></div>
  <div class="wrapper">
    <div id="forum_advert_b0"></div>
    <div class="pagination"><span class="disabled">« 上一页</span> <span class="current">1</span> <a href="/forums/board/Ruby?page=2">2</a> <a href="/forums/board/Ruby?page=3">3</a> ... <a href="/forums/board/Ruby?page=56">56</a> <a href="/forums/board/Ruby?page=57">57</a> <a href="/forums/board/Ruby?page=2">下一页 »</a></div>

    <div class="info">
      <a href="/forums/hot/Ruby">本月热门讨论</a>
      <a href="/forums/good/Ruby">精华良好贴</a>      
    </div>
</div>
</div>

<table id="forum_main" cellspacing="1">
  <thead>
    <tr>
      <td colspan="2" style="border-left: 1px solid white;">主题</td>
      <td style="width: 50px;">回复</td>
      <td style="width: 100px;">作者</td>
      <td style="width: 50px;">阅读</td>
      <td style="border-right: 1px solid white; width: 120px;">最新文章</td>
    </tr>
  </thead>
  <tbody>
<% count =0 %>
  <% for ft in @ltfts%>
    
    <%if ft.xtfl == 9 %>
    <tr>
      <td class="topic_icon announcement_topic"></td>
      <td class="topic_title">
        公告:  <a href="/ltfts/<%=ft.id%>" style="color: red;">[公告] <%=ft.zt%></a>
      </td>
      <td class="topic_replies">19</td>
      <td class="topic_author"><a href="http://webmaster.javaeye.com" target="_blank">JavaEye管理员</a></td>
      <td class="topic_view_count">1330</td>
      <td class="topic_last_post">
        前天<br>
        <a href="http://chl929.javaeye.com" target="_blank">黑马白浪</a>

        <a href="/post/512549" class="last_post" title="浏览最新的文章">&nbsp;</a>
      </td>
    </tr>
    <% else %>
      <% if count == 0 %>
        <tr class="sep1"><td colspan="6"></td></tr>
      <%end%>
    <% count=count + 1 %>
    <tr>
      <td class="topic_icon unread_topic"></td>
      <td class="topic_title">
         <a href="/ltfts/<%=ft.id%>">[<%=ft.flmc%>] <%=ft.zt%></a>
      </td>
      <td class="topic_replies">2</td>
      <td class="topic_author"><a href="http://leself.javaeye.com" target="_blank">leself</a></td>
      <td class="topic_view_count">37</td>
      <td class="topic_last_post">
        4 分钟前<br>
        <a href="http://pure.javaeye.com" target="_blank">pure</a>
        <a href="/post/515179" class="last_post" title="浏览最新的文章">&nbsp;</a>
      </td>
    </tr>
    <%end%>
    <%end%>
 </tbody>
</table>

<div class="actions">
  <div class="buttons"><a href="/ltfts/new" class="new_topic" title="发表新帖">&nbsp;</a></div>
  <div class="wrapper"><div class="pagination"><span class="disabled">« 上一页</span> <span class="current">1</span> <a href="/forums/board/Ruby?page=2">2</a> <a href="/forums/board/Ruby?page=3">3</a> ... <a href="/forums/board/Ruby?page=56">56</a> <a href="/forums/board/Ruby?page=57">57</a> <a href="/forums/board/Ruby?page=2">下一页 »</a></div></div>
 </div>
</div>